package com.pig.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.pig.pojo.addr.Addr;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface AddrMapper extends BaseMapper<Addr> {
    @Select("select * from p_addr limit #{startIndex},#{limit}")
    List<Addr> findAddrByPage(int startIndex, int limit);
}
